package io.github.talelin.latticy.dto;

import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;

@Getter
@Setter
public class JobDTO {

    @NotNull
    @Positive
    private Long projectId;

    @NotBlank
    @Length(min = 1, max = 50)
    private String title;

    private String remark;

    private String description;

    private String time;
}
